Skip to main content

Creating a child Case for BAs

8 Tasks

30 mins

Visible to: All users
Beginner Pega Platform '23 Case Management Constellation English

Scenario

The Microjourney® for a GoGoRoad customer includes initiating the request for service, receiving the service, and for certain membership status, receiving an invoice for services rendered.

In a recent DCO session, stakeholders agreed with your analysis that the customer Microjourney can use two distinct Case Types configured in a parent/child relationship:

  • The Assistance Request Case Type is the parent and models the request initiation and customer invoicing
  • The Service Case Type is the child and models the service-related workflow.

The creation of the Service Case Type occurs during the Assistance Request Case Type's Service Stage. The Service Case Type includes functionality to perform and document the selected services. After the resolution of the Service Case, the Assistance Request Case Type can resume.

Another Business Architect on the GoGoRoad project has already configured the Service Case Type within the GoGoRoad application. Your current task is to configure the Create case Step that creates the Service child Case and the Wait Step that defines the Case dependency criteria under which the Assistance Request Case Type resumes. Configuration of both of these Steps takes place in the Assistance Request Case Type.

User Stories

As a GoGoRoad CSR, I want an Assistance Request Case to automatically create a Service Case when the business process enters the Service Stage and automatically resume when the Service Case is resolved so that the customer journey is managed efficiently.

As a GoGoRoad Service Coordinator, I want the the Assistance Request Case to transfer data related to the customer, service address, service type, and vehicle information so that I have the information I need to dispatch the service provider.

Technical notes documented by the System Architect

  • The Assistance Request Case Type includes a Process called Create Service Case that includes a Create Case automation Step and a Wait Automation Step.
  • In the Assistance Request Case, the Create Case automation step initiates a Service Case, and transfers data for the Customer (AR), Service address (AR), Service type, and Vehicle information (AR) field types to the Service Case.
  • In the Assistance Request Case, the Wait automation step recognizes that the Service Case must be resolved before proceeding.
  • In the Create Stage of the Service Case, the data transferred in the Customer (AR), Service address (AR), Service type, and Vehicle information (AR) fields is displayed in the Assistance Request Info section of the Confirm Assistance Request Step.

The following table provides the credentials you need to complete the challenge:

Role User name Password
Business Architect author@gogoroad pega123!

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Challenge Walkthrough

Detailed Tasks

1 Configure the Service Case Process

  1. In the Pega instance for the challenge, enter the following credentials:
    1. In the User name field, enter author@gogoroad.
    2. In the Password field, enter pega123!.
  2. In the navigation pane of App Studio, click Case Types > Assistance Request to open the Assistance Request Case Type.
  3. In the Assistance Request Case Life Cycle, hover over the Service Stage, and then click More > Add Process > New Process.
    More icon when you hover over the Service stage
  4. In the Process field, enter Create Service Case.
  5. In the Create Service Case Process, click Step to add a new Step to the Process.
  6. Click More > Automations > Create Case > Select to add the Create Case Step to the Process.
    Create case step
  7. In the Step field, enter Create Service Case.

2 Configure the Service child Case

  1. In the Create Service Case contextual properties pane on the right, confirm that Child Case is the active selection.
  2. In the Case Type list, select Service to create a Service case, and then click OK to remove the instructional message.
  3. Select the Transfer information to new Case checkbox.
    The Step properties pane for the Create child Case step
  4. In the Transfer information dialog box, in the 'From' field, select the following checkboxes:
    • Customer (AR)
    • Service address (AR),
    • Service type
    • Vehicle information (AR)
  5. Confirm that the Add mapped fields to the Assistance Request Info view (in 'Service' case type) checkbox is active.
  6. Click OK to close the Transfer information dialog box.
  7. Click Save to save the Assistance Request Case Life Cycle.
    The Service Stage including the Create Service Case Step

3 Delete Steps in the Service Stage

  1. In the Create Service Case Process, on the Service (1) Step, click the Delete icon.
  2. In the Service Process, on the Select services performed Step, click the Delete icon.
    This Step is no longer needed as it is now part of the Service child Case.
    The Service Stage after Collect information Steps are deleted

4 Remove the Persona and data object

  1. In the Service Stage, in the Personas & Channels section, in the CSR Persona, click the Delete icon.
  2. The CSR Persona is no longer needed for the Service Stage as the process is now performed in the Service child Case.
    The Delete icon to remove the CSR Persona.
  3. In the Service Stage, in the Data & Interfaces section, in the Selected service data object, click the Delete icon.
    The Selected service data object is no longer needed for the Service Stage as the process is now performed in the Service child Case.
    Deleting the Selected service data object

5 Add a Wait Step to the Create Service Case Process

  1. In the Service Stage, in the Create Service Case Process, click Step > More > Automations > Wait > Select to add a Wait Step that pauses Assistance Request Case processing while the Service Case is active.
  2. In the Wait Step field, enter Wait for Service Case resolution.
  3. In the contextual properties pane on the right, in the Wait for (Case type) list, select Service to set a dependency on the Service Case.
    Note: In this challenge, the Assistance Request case type creates a single Service child case, and there is no difference between the Any and All options.
  4. Select To be resolved to pause the Assistance Request Case until the Service Case is resolved.
  5. Clear the Users can choose to continue process checkbox.
    The Wait Step properties pane.
  6. In the upper-right corner, click Save to save the changes to the Assistance Request Case Life Cycle.
    Adding the Wait step to the Service Stage

6 Configure the Service Case Type availability

  1. In the navigation pane of App Studio, click Case Types > Service to open the Service Case Type.
  2. Click the Settings tab to open the Service Case Type properties.
  3. Optional: If active, in the General section, in the Availability field, clear the Make available for adding to create menu checkbox.
    This action prevents users from manually creating a Service Case in the Create menu of the Web Portal.
    Clearing the Availability check box
  4. Click Save to save the Service Case Type.
    Note: To reflect the Service Case Type settings, log out and then log back in to the application.

7 Configure the Confirm Assistance Request Info Step

  1. In the Service Case Type menu, click the Workflow tab.
  2. In the Create Stage, click the Confirm Assistance Request information Step. 
  3. In the contextual properties pane on the right, click Configure View.
  4. In the Fields section, click the Remove icon to delete the Primary fields View.
  5. In the Fields section, click Add > Views > Assistance Request Info > Add to add the information transferred from the Assistance Request Case Type.
  6. In the Fields section, click Assistance Request Info.
  7. Drag the Service type field above the Search for Customer (AR) Customer field.
    Moving the Service type field to the top of the list
  8. Click Submit to close the View.
  9. Click Save to save your work.

8 Configure the Send service summary Email Step

  1. In the Service Case Type, click the Send service summary Step to display the contextual properties pane on the right.
  2. In the contextual properties pane, in the Send to list, select Field.
  3. In the second Send to list, select Customer (AR) > Customer email.
  4. In the Subject field, enter "Your service is complete!"
  5. In the Message content section, click Compose.
  6. In the rich text editor, enter the following text to compose the email message:

    Dear <<.CustomerAR.FullName>>, 

    Your service is now complete. The total of services rendered for case <<.pyID>> was <<.TotalOfSelectedServices>>.

    You will be billed directly from GoGoRoad.

    Best regards, 

    The Services Team

  7. Click Done to complete the message composition and display a message preview.
  8. Click Save to apply the changes.

Confirm your work

  1. In the header of App Studio, click Preview to preview the application in the Web Portal.
  2. In the navigation pane of the Web Portal, click Create, and then confirm that the Service Case is not displayed.
    Create menu
  3. Click Assistance Request to create a new Assistance Request Case.
    Note the Assistance Request Case ID.
    Assistance Request Case ID
  4. In the Identify issue Step, select a service type, then click Next.
  5. In the Identify customer Step, select [email protected], and then click Next.
  6. In the Identify location Step, enter values in the Street, City, and State fields, and then click Next.
  7. In the Identify vehicle Step, enter values in the Make, Model, Color, and Model year fields, and then click Submit.
    A Service Case should open automatically.
  8. In the Assistance Request Info section of the Service Case, verify that the information entered in the Assistance Request Case is displayed, and then click Submit.
    The Service Case Assistance Request info View
  9. In the Identify services performed Step, select a Service and enter a value in the Quantity field.
  10. Click Submit.
    Adding services performed to the Services Case
  11. Navigate to the Review Services Step in the original Assistance Request Case.
    The status of the Service Stage should display as complete.
    The Assistance Request Case with Services Stage complete

This Challenge is to practice what you learned in the following Module:


Available in the following mission:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice